.login {
    height: 782px;
    width: 100%;
    background-color: salmon;
    background: #e1ecfe url(../img/login/bg.jpg) no-repeat center;
}

.login-con {
    height: 782px;
    width: 1260px;
    margin: 0 auto;
    position: relative;
}

.login .logo {
    height: 53px;
    width: 140px;
    background-color: #456fff;
    position: absolute;
    top: 0;
    left: 300px;
}

.login .logo>span {
    height: 53px;
    width: 140px;
    display: inline-block;
    font-size: 32px;
    line-height: 53px;
    text-align: center;
    color: #fff;
}

.login .login-box {
    width: 420px;
    height: 670px;
    background-color: #fff;
    position: absolute;
    top: 75px;
    left: 790px;
}

.login-box h2 {
    height: 45px;
    width: 420px;
    margin-top: 30px;
    margin-bottom: 20px;
    /* background-color: royalblue; */
}

.login-box h2 img {
    height: 45px;
    margin-left: 125px;
}

.login-box>p:nth-of-type(1) {
    height: 20px;
    font-size: 20px;
    line-height: 20px;
    text-align: center;
    margin-bottom: 30px;
    color: #000;
}

.login-box>p:nth-of-type(2) {
    height: 18px;
    width: 360px;
    margin: 0 auto;
    text-align: right;
    font-size: 12px;
    color: #456fff;
    cursor: pointer;
    margin-bottom: 16px;
}

.login-box .username,
.login-box .password {
    height: 48px;
    width: 360px;
    border: 1px solid #dedfe0;
    margin-left: 31px;
    font-size: 16px;
    text-indent: 16px;
}

.login-box .username {
    margin-bottom: 16px;
}

.login-box .automatic {
    height: 60px;
    width: 360px;
    margin-left: 31px;
    font-size: 12px;
}

.login-box .automatic .tips {
    height: 60px;
    width: 120px;
    display: inline-block;
    line-height: 60px;
    /* text-align: center; */
    color: red;
    float: left;
    display: none;
}

#show {
    display: block;
}

.twoweek {
    width: 160px;
    float: right;
    /* background-color: blue; */
}

.login-box .automatic .twoweek input {
    display: inline-block;
    float: left;
    margin-left: 40px;
    margin-right: 10px;
    margin-top: 24px;
}

.login-box .automatic .week {
    height: 60px;
    display: inline-block;
    float: left;
    line-height: 60px;
    text-align: center;
    color: #666;
}

.login-box>button:nth-of-type(1) {
    height: 46px;
    width: 360px;
    margin-left: 31px;
    background-color: #4287ff;
    border: none;
    font-size: 18px;
    color: #fff;
    margin-bottom: 16px;
    cursor: pointer;
}

.login-box .register {
    height: 46px;
    width: 360px;
    margin-left: 31px;
    font-size: 18px;
    color: #4287ff;
    background-color: #fff;
    border: 1px solid #4287ff;
    cursor: pointer;
}

.login-box .text {
    height: 68px;
    width: 360px;
    /* background-color: pink; */
    margin-left: 31px;
    font-size: 12px;
    color: #999999;
    line-height: 20px;
    padding: 15px 0;
    box-sizing: border-box;
}

.login-box>p:nth-of-type(3) {
    height: 40px;
    text-align: center;
    color: #666666;
    font-size: 13px;
    line-height: 40px;
}

.login-box>p:nth-of-type(4) {
    height: 40px;
    text-align: center;
    line-height: 40px;
    font-size: 12px;
    color: #cccccc;
}

.login-box .other {
    height: 40px;
    width: 120px;
    margin: 0 auto;
    /* background-color: sandybrown; */
    display: flex;
    justify-content: space-between;
}

.login-box .other>div {
    height: 26px;
    width: 26px;
    border-radius: 50%;
    background-color: #7f98ff;
    float: left;
    margin-top: 6px;
    line-height: 26px;
    text-align: center;
}

.login-box .other>div>span {
    font-size: 14px;
    color: #fff;
}

.login-box .other>div:hover {
    cursor: pointer;
    background-color: #4287ff;
}

.box-footer {
    height: 60px;
    width: 100%;
    margin-bottom: 40px;
    margin-top: 120px;
}

.box-footer .footer-t {
    height: 40px;
    line-height: 40px;
    text-align: center;
    /* background-color: red; */
    font-size: 12px;
    color: #666666;
}

.box-footer .footer-t>span {
    margin-right: 10px;
}

.box-footer .footer-b {
    height: 20px;
    line-height: 20px;
    text-align: center;
    font-size: 10px;
    color: #9d9d9d;
}

.box-footer .footer-t>span:nth-of-type(2):hover {
    color: #456fff;
    cursor: pointer;
}